home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer Source 8
/
developer source - volume 8.iso
/
sdevl
/
oct95
/
coadf106.gif
< prev
next >
Tile
Graphics Interchange Format
|
1997-01-15
|
107.1 KB
|
803x520
|
4-bit (16 colors)
ocr:
Figure 6. "Sale Calculates Its Total" Scenario View (Round III) Sale SaleLineltem Item Store TaxCategory Scenario: Sale Calculates its Totai Scenario Constraint: calcTotal calcSubtotal howMuchForaty getTaxCat getTaxCat 0.1 seconds, 9 out of 10 times, caicSubtotal howMuchlnTaxCat getPriceForDate 0.5 seconds max. calcTax nowMuchinTaxCat tootar saie.calciotal (:t totai) uestoral sale.calcSubtotal( (:s subtotal) n-> calesuatotal sale.Linelem.calesubtotal (date; subtotal) NoNMue0n item.howMuchForaty (gty, date; 4 amt) etxnceraDate item.getPriceforDate (date: : price) cactetee x Casax sale.calcTax ( ...